// app.js
import './utils/utils.js'
import './utils/http.js'
App({
  onLaunch() {
    this.gettoken()
  },
  gettoken() {
    this.token = wx.getStorageSync('token')
    this.refreshToken = wx.getStorageSync('refreshToken')
  },
  settoken(key, token) {
    this[key] = token
    wx.setStorageSync(key, token)
  },
  globalData: {}
})
